﻿namespace HiMap.Base
{
    using System;
    using System.Runtime.InteropServices;
    using System.Text;

    public class Register
    {
        public static bool CreateICFile(string name)
        {
            return KWGCreateICFile(new StringBuilder(name));
        }

        [DllImport("KMGisLib")]
        public static extern bool KWGCreateICFile(StringBuilder name);
        [DllImport("KMGisLib")]
        public static extern void KWGSetSnFileName(StringBuilder name);
        public static void SetSnFileName(string name)
        {
            KWGSetSnFileName(new StringBuilder(name));
        }
    }
}

